package com.gc.baselib.base;

import android.os.Bundle;
import android.view.View;

import androidx.lifecycle.LifecycleOwner;
import androidx.viewbinding.ViewBinding;

/**
 * @author admin
 * @Date 2022/6/10 14:35
 * @package： com.zk.baselib.base
 * @decrpition
 */
public interface MVVMProvider <VM extends BaseViewModel>{

    void initParams(Bundle extras);
    void initNewIntentParams(Bundle extras);
    void initView();
    /**初始化ViewModel*/
    VM initViewModel();
    /**可以注入lifecycleOwner*/
    LifecycleOwner lifecycleOwner();
//    V initViewBinding();
}
